﻿using Rsd.Dudu.ModelProvider;
using Rsd.Faith.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 申请表
    /// </summary>
    [Table("fiscal_开发商交存申请表", "fiscal__kfs_jiao_cun_biao", "id")]
    [Serializable]
    public class FiscalKaiFaShangJiaoCunShenQingModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 申请编号 
        /// </summary>
        [TableIndex(TableIndexType.Unique, TableIndexUsing.BTree)]
        [StringType("shen_qing_bian_hao", "申请编号", 20, 20)]
        [DisplayName("申请编号")]
        public string ShenQingBianHao { get; set; }
         
        /// <summary>
        /// 楼盘编号
        /// </summary> 
        [StringType("lou_pan_bian_hao", "楼盘编号", 22, 20)]
        [DisplayName("楼盘编号")]
        public string LouPanBianHao { get; set; }

        /// <summary>
        /// 上市楼宇编号
        /// </summary> 
        [StringType("shang_shi_bian_hao", "上市楼宇编号", 24, 20)]
        [DisplayName("上市楼宇编号")]
        public string ShangShiBianHao { get; set; }

        /// <summary>
        /// 公安楼栋编号
        /// </summary>
        [TableIndex(TableIndexType.Normal, TableIndexUsing.BTree)]
        [StringType("lou_dong_hao", "公安楼栋编号", 26, 20)]
        [DisplayName("公安楼栋编号")]
        public string LouDongBianHao { get; set; }

       
        /// <summary>
        /// 施工楼栋号
        /// </summary>
        [StringType("lou_dong_hao_sg", "施工楼栋号", 28, 250)]
        [DisplayName("施工楼栋号")]
        public string LouDongHao { get; set; }

        /// <summary>
        /// 所在区
        /// </summary>
        [StringType("suo_zai_qu", "所在区", 30, 50)]
        [DisplayName("所在区")]
        public string SuoZaiQu { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [StringType("di_zhi", "地址", 32, 120)]
        [DisplayName("地址")]
        public string DiZhi { get; set; }

        /// <summary>
        /// 开发商编号
        /// </summary>
        [StringType("fang_wu_lei_xing", "开发商编号", 34, 10)]
        [DisplayName("开发商编号")]
        public string KaiFaShangBianHao { get; set; }

        /// <summary>
        /// 开发商名称
        /// </summary>
        [StringType("fang_wu_xing_zhi", "开发商名称", 36, 10)]
        [DisplayName("开发商名称")]
        public string KaiFaShangMingCheng { get; set; }
         
        /// <summary>
        /// 总层数
        /// </summary>
        [IntegerType("zong_ceng_shu", "总层数", 38)]
        [DisplayName("总层数")]
        public int ZongCengShu { get; set; }

        /// <summary>
        /// 是否有电梯
        /// </summary>
        [IntegerType("you_dian_ti", "是否有电梯", 39)]
        [DisplayName("是否有电梯")]
        public int YouDianTi { get; set; }

        /// <summary>
        /// 地面层数
        /// </summary>
        [IntegerType("di_mian_ceng_shu", "地面层数", 40)]
        [DisplayName("地面层数")]
        public int DiMianCengShu { get; set; }
         
        /// <summary>
        /// 总户数
        /// </summary>
        [StringType("zong_hu_shu", "总户数", 42)]
        [DisplayName("总户数")]
        public int ZongHuShu { get; set; }

        /// <summary>
        /// 总面积
        /// </summary>
        [NumericType("zong_mian_ji", "总面积", 44, 20,2)]
        [DisplayName("总面积")]
        public decimal ZongMianJi { get; set; }

        /// <summary>
        /// 应交金额
        /// </summary>
        [NumericType("ying_jiao_jin_e", "应交金额", 46, 20, 2)]
        [DisplayName("应交金额")]
        public decimal YingJiaoJinE { get; set; }

        /// <summary>
        /// 金额大写
        /// </summary>
        [StringType("jin_e_da_xie", "金额大写", 48)]
        [DisplayName("金额大写")]
        public string JinEDaXie { get; set; }

        /// <summary>
        /// 入账所属期
        /// </summary>
        [StringType("suo_shu_qi", "入账所属期", 50, 20)]
        [DisplayName("入账所属期")]
        public string SuoShuQi { get; set; }

        /// <summary>
        /// 交纳日期
        /// </summary>
        [DateTimeType("jiao_na_ri_qi", "交纳日期", 52)]
        [DisplayName("交纳日期")]
        public DateTime JiaoNaRiQi { get; set; }
         

        /// <summary>
        /// 状态
        /// </summary>
        [StringType("zhuang_tai", "状态", 54, 10)]
        [DisplayName("状态")]
        public KaiFaShangJiaoCunZhuangTai ZhuangTai { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public FiscalKaiFaShangJiaoCunShenQingModel()
        { }

    }
}

